package com.jy.rhin.model.body.fuyou;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

@Data
public class JiaZuShi {
	
	@XPath(path = "/organizer/subject/relatedSubject/code",
			xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_024_00))
	CodeObject jiaTingGX;
	
	@XPath(path = "/organizer/subject/relatedSubject/subject/administrativeGenderCode",
			xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_040_00))
	CodeObject xieBie;
	
	@XPath(model = "code", codePath = "/organizer/component/observation/code[@code='DE02.10.021.00'][@codeSystem='2.16.156.10011.2.2.1']",
			path = "/value/@value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_021_00))
	//家族既往患病种类代码
	String jiWangHBZLDM;
	
	@XPath(model = "code", codePath = "/organizer/component/observation/code[@code='DE02.10.039.00'][@codeSystem='2.16.156.10011.2.2.1']",
			path = "/value/@value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_039_00))
	//家族疾病史类别代码
	String jiBingSLBDM;;
	
	
}
